﻿<phone:PhoneApplicationPage 
    x:Class="Oiler.GamePage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Landscape" Orientation="Landscape"
    mc:Ignorable="d" d:DesignHeight="480" d:DesignWidth="800"
    shell:SystemTray.IsVisible="False">
    
    <!--No XAML content is required as the page is rendered entirely with the XNA Framework-->
    <Grid Height="480" Name="grid1" Width="800">
        <Canvas Height="85" HorizontalAlignment="Left" Margin="685,0,0,0" Name="canvas1" VerticalAlignment="Top" Width="103" Background="White" Visibility="Visible"></Canvas>
        <Canvas Height="50" HorizontalAlignment="Left" Name="canvas2" VerticalAlignment="Top" Width="800" Background="White">
            <TextBlock Canvas.Left="100" Canvas.Top="6" Height="38" Name="textBlock2" Text="TextBlock" Width="132" Foreground="Black" FontSize="32" />
            <TextBlock Canvas.Left="507" Canvas.Top="6" FontSize="32" Foreground="Black" Height="38" Name="textBlock3" Text="TextBlock" Width="132" />
            <TextBlock Canvas.Left="685" Canvas.Top="55" Height="30" Name="textBlock1" Text="S    D" Foreground="Black" Width="103" TextAlignment="Center" FontFamily="Arial Black" FontWeight="Bold" />
            <TextBlock Canvas.Left="365" Canvas.Top="6" FontSize="32" Foreground="Black" Height="38" Name="textBlock4" Text="TextBlock" Width="132" />
            <Canvas Height="320" Name="canvas5" Width="557" Canvas.Left="243" Canvas.Top="55" />
            <TextBlock Canvas.Left="107" Canvas.Top="55" FontSize="32" Foreground="Black" Height="38" Name="textBlock13" Text="TextBlock" Width="132" />
            <TextBlock Canvas.Left="246" Canvas.Top="54" FontSize="32" Foreground="Black" Height="38" Name="textBlock14" Text="TextBlock" Width="132" />
        </Canvas>
        <Canvas Background="White" Name="canvas3" Margin="0,0,720,0">
            <Button Content="+" Height="110" Name="button1" Background="Black" Canvas.Left="-12" Canvas.Top="285" Width="105" FontSize="40"></Button>
            <Button Background="Black" Canvas.Left="-12" Canvas.Top="375" Content="-" Height="110" Name="button2" Width="105" FontSize="40" />
            <Button Canvas.Left="-12" Canvas.Top="55" Content="build" Height="72" Name="button3" Width="105" Click="add" FontSize="20" Visibility="Visible" Foreground="Black" FontFamily="Comic Sans MS" FontWeight="Bold">
                <Button.Background>
                    <ImageBrush ImageSource="/Oiler;component/Images/ButtonSmall.png" />
                </Button.Background>
            </Button>
            <Button Canvas.Left="-12" Canvas.Top="207" Content="Pause" Height="73" Name="button7" Width="105" FontSize="20" Click="PauseGame" FontFamily="Comic Sans MS" FontWeight="Bold" Foreground="Black">
                <Button.Background>
                    <ImageBrush ImageSource="/Oiler;component/Images/ButtonSmall.png" />
                </Button.Background>
            </Button>
            <Button Canvas.Left="-12" Canvas.Top="108" Content="Market" FontSize="16" Height="72" Name="Marketing" Visibility="Visible" Width="105" Click="OpenMarket" Foreground="Black" FontWeight="Bold" FontStretch="Normal" FontFamily="Comic Sans MS" FontStyle="Normal">
                <Button.Background>
                    <ImageBrush ImageSource="/Oiler;component/Images/ButtonSmall.png" />
                </Button.Background>
            </Button>
            <Button Content="Employees" FontFamily="Comic Sans MS" FontSize="10" FontStretch="Normal" FontStyle="Normal" FontWeight="Bold" Foreground="Black" Height="72" Name="EmployButton" Visibility="Visible" Width="105" Canvas.Left="-12" Canvas.Top="158" Click="EmployButton_Click">
                <Button.Background>
                    <ImageBrush ImageSource="/Oiler;component/Images/ButtonSmall.png" />
                </Button.Background>
            </Button>
        </Canvas>
        <Canvas Height="100" HorizontalAlignment="Left" Margin="136,382,0,0" Name="canvas4" VerticalAlignment="Top" Width="610" Background="White" Visibility="Collapsed">
            <Button Canvas.Left="3" Canvas.Top="6" Content="Small Rig" Height="94" Name="button4" Width="210" Background="Black" Click="BuildSmallRig"></Button>
            <Button Background="Black" Canvas.Left="200" Canvas.Top="7" Content="Medium Rig" Height="94" Name="button5" Width="210" Click="BuildMedRig" />
            <Button Background="Black" Canvas.Left="397" Canvas.Top="7" Content="High Rig" Height="94" Name="button6" Width="210" Click="BuildHighRig" />
        </Canvas>
        <Canvas Height="430" HorizontalAlignment="Left" Margin="80,50,0,0" Name="MarketCanvas" VerticalAlignment="Top" Width="720" Background="Red" Visibility="Collapsed">
            <Button Canvas.Left="20" Canvas.Top="48" Content="Television" Height="73" Name="TelevisionAd" Width="243" Click="TeleSelect" />
            <Button Canvas.Left="20" Canvas.Top="118" Content="Radio" Height="73" Name="Radio" Width="243" Click="RadSelect" />
            <Button Canvas.Left="20" Canvas.Top="190" Content="News Paper" Height="73" Name="NewsPaper" Width="243" Click="NewsSelect" />
            <Button Canvas.Left="20" Canvas.Top="260" Content="Bill Boards" Height="73" Name="BillBoard" Width="243" Click="BillSelect" />
            <Button Canvas.Left="471" Canvas.Top="349" Content="Run" Height="73" Name="StartAd" Width="243" Click="ConfrimAd" />
            <TextBlock Canvas.Left="270" Canvas.Top="62" Height="48" Name="TeleRunning" Text="Not Running" Width="203" TextAlignment="Center" FontSize="30" />
            <TextBlock Canvas.Left="270" Canvas.Top="132" FontSize="30" Height="48" Name="RadRunning" Text="Not Running" TextAlignment="Center" Width="203" />
            <TextBlock Canvas.Left="270" Canvas.Top="273" FontSize="30" Height="48" Name="BillRunning" Text="Not Running" TextAlignment="Center" Width="203" />
            <TextBlock Canvas.Left="270" Canvas.Top="204" FontSize="30" Height="48" Name="NewsRunning" Text="Not Running" TextAlignment="Center" Width="203" />
            <TextBlock Canvas.Left="461" Canvas.Top="62" FontSize="30" Height="48" Name="textBlock5" Text="$2,400,000/month" TextAlignment="Center" Width="253" />
            <TextBlock Canvas.Left="467" Canvas.Top="132" FontSize="30" Height="48" Name="textBlock6" Text="$1,400,000/month" TextAlignment="Center" Width="241" />
            <TextBlock Canvas.Left="480" Canvas.Top="204" FontSize="30" Height="48" Name="textBlock7" Text="$600,000/month" TextAlignment="Center" Width="228" />
            <TextBlock Canvas.Left="480" Canvas.Top="273" FontSize="30" Height="48" Name="textBlock8" Text="$100,000/month" TextAlignment="Center" Width="228" />
            <Slider Canvas.Left="13" Canvas.Top="341" Height="83" Name="MoneyCut" Width="460" />
            <TextBlock Canvas.Left="13" Canvas.Top="382" FontSize="30" Height="48" Name="CutOff" Text="TextBlock" TextAlignment="Center" Width="460" />
        </Canvas>
        <Button Content="Button" Name="PriceButton" Background="White" Margin="-12,-11,707,415" FontSize="22" Click="SetPrice" Foreground="Black" />
        <Canvas Height="240" HorizontalAlignment="Left" Margin="200,140,0,0" Name="PriceCanvas" VerticalAlignment="Top" Width="400" Background="White" Visibility="Collapsed">
            <Button Canvas.Left="233" Canvas.Top="30" Content="Increase" Height="100" Name="IncreasePrice" Width="160" Background="Black" Click="UpPrice"></Button>
            <Button Background="Black" Canvas.Left="233" Canvas.Top="117" Content="Decrease" Height="100" Name="button10" Width="160" Click="DownPrice" />
            <TextBlock Canvas.Left="20" Canvas.Top="42" Height="133" Name="textBlock9" Text="186" Foreground="Black" Width="213" FontSize="90" TextAlignment="Center" />
            <TextBlock Canvas.Left="37" Canvas.Top="137" FontSize="40" Foreground="Black" Height="67" Name="textBlock10" Text="per barrel" TextAlignment="Center" Width="184" />
            <TextBlock Canvas.Left="6" Canvas.Top="6" FontSize="32" Foreground="Black" Height="34" Name="textBlock11" Text="TextBlock" Width="140" />
            <TextBlock Canvas.Left="153" Canvas.Top="6" FontSize="32" Foreground="Black" Height="38" Name="textBlock12" Text="TextBlock" Width="132" />
        </Canvas>
        <Button Background="Black" Height="80" Name="button8" Width="80" Margin="561,98,159,302" Content="X" Click="ClosePrice" Visibility="Collapsed" />
        <Canvas Height="326" HorizontalAlignment="Left" Margin="237,52,0,0" Name="StatsPlate" VerticalAlignment="Top" Width="557" Background="White" Visibility="Collapsed">
            <Button Canvas.Left="467" Canvas.Top="6" Content="X" Height="90" Name="button9" Width="90" Background="Black" Click="CloseStats"></Button>
        </Canvas>
        <Canvas Height="430" HorizontalAlignment="Left" Margin="80,50,0,0" Name="EmployeeCanvas" VerticalAlignment="Top" Width="720" Background="Red" Visibility="Collapsed">
        </Canvas>
    </Grid>
</phone:PhoneApplicationPage>
